package com.yw.swagger.mapper;

import com.yw.swagger.model.WebContents;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: Abeiv
 * @Description:
 * @Date: 2019/10/26 10:22
 */
@Repository
public interface WebContentsMapper {
    //执行添加WebContents
    int insertContentsWork(WebContents webContents);
    //查询WebContents表详细信息
     WebContents seleCtcontentsSend(String id);
    //删除信息
    int deleteContents(String[] ids);
    //分页查询某模块信息
    List<WebContents> seleCtcontentsAll(String model);
    //审核信息
     int contentsAudit(@Param("id") String id);
    //未审核信息
    List<WebContents> selectNotAudit();

    //查询5张图片
    List<WebContents> selectImgUrl();


}
